curl --request GET \
--url https://api.example.com/api/usuarios{
"200": {},
"401": {},
"403": {},
"users": [
{
"usuario_id": 123,
"username": "<string>",
"email": {},
"nombre": "<string>",
"apellidos": "<string>",
"rol": {},
"direccion_envio": "<string>",
"fecha_nacimiento": "<string>",
"activo": true
}
]
}Retrieve a list of all users in the system
curl --request GET \
--url https://api.example.com/api/usuarios{
"200": {},
"401": {},
"403": {},
"users": [
{
"usuario_id": 123,
"username": "<string>",
"email": {},
"nombre": "<string>",
"apellidos": "<string>",
"rol": {},
"direccion_envio": "<string>",
"fecha_nacimiento": "<string>",
"activo": true
}
]
}curl -X GET https://api.iquea.com/api/usuarios \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
Show User Object
ADMIN - Administrator with full accessCLIENTE - Regular customer (default)[
{
"usuario_id": 1,
"username": "johndoe",
"email": {
"value": "john@example.com"
},
"nombre": "John",
"apellidos": "Doe Smith",
"rol": "CLIENTE",
"direccion_envio": "123 Main St, Madrid, Spain",
"fecha_nacimiento": "1990-05-15",
"activo": true
},
{
"usuario_id": 2,
"username": "admin",
"email": {
"value": "admin@iquea.com"
},
"nombre": "Admin",
"apellidos": "User",
"rol": "ADMIN",
"direccion_envio": "456 Admin Blvd, Barcelona, Spain",
"fecha_nacimiento": "1985-03-20",
"activo": true
}
]
password field is stored securely in the database but excluded from all DTO responses.